/*
 *  AMCMobRef.h
 *  libavid
 *
 *  Created by Peter on 25.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef A_MC_MOB_REF_H
#define A_MC_MOB_REF_H

#include "AObject.h"
#include "AvTypes.h"

// Version: 1 (MC 5.0.3)
// This contains info about a MOB and is the base class for ATmBc (locator)
class AMCMobRef : public AObject
{
	
public:
	
	A_DECLARE_CLASS( 'MCMR', AMCMobRef, AObject );
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void dump( std::ostream& str ) const;
	
	Int32 _mobIdHigh; // MobID.high      : 0
	Int32 _mobIdLow;  // MobID.low       : 0
	Int32 _position;  // OMFI:MCMR:MC:Position: 0
	
	// PClass Extension MobID
	aafMCMobID_t _mobId;
	
};

#endif /*Inclusion Guard*/